<div class="row wrapper border-bottom white-bg page-heading">
    <div class="col-lg-10">
        <h2>礼包领取记录</h2>
        <ol class="breadcrumb">
            <li>
                <a href="#">首页</a>
            </li>

            <li class="active">
                <strong>礼包领取记录</strong>
            </li>
        </ol>
    </div>

</div>

<div class="wrapper wrapper-content animated fadeInRight ecommerce">

    <div class="ibox-content m-b-sm border-bottom" id="form1">
        <div class="row">
                        <div class="col-sm-3">
                <div class="form-group">
                    <label class="control-label" for="game_package_id">游戏礼包包id</label>
                                        <input type="text" id="game_package_id" name="game_package_id" placeholder="游戏礼包包id"
                           class="form-control">
                                    </div>
            </div>
                        <div class="col-sm-3">
                <div class="form-group">
                    <label class="control-label" for="plateform_user_id">平台用户id(领取者)</label>
                                        <input type="text" id="plateform_user_id" name="plateform_user_id" placeholder="平台用户id(领取者)"
                           class="form-control">
                                    </div>
            </div>
                        <div class="col-sm-3">
                <div class="form-group">
                    <label class="control-label" for="game_user_id">游戏账号id</label>
                                        <input type="text" id="game_user_id" name="game_user_id" placeholder="游戏账号id"
                           class="form-control">
                                    </div>
            </div>
                        <div class="col-sm-3">
                <div class="form-group">
                    <label class="control-label" for="game_id">游戏id</label>
                                        <input type="text" id="game_id" name="game_id" placeholder="游戏id"
                           class="form-control">
                                    </div>
            </div>
                        <div class="col-sm-3">
                <div class="form-group">
                    <label class="control-label" for="get_date">获取日期</label>
                                        <input type="text" id="get_date" name="get_date" placeholder="获取日期"
                           class="form-control">
                                    </div>
            </div>
                        <div class="col-sm-3">
                <div class="form-group">
                    <label class="control-label" for="verification_code">验证码</label>
                                        <input type="text" id="verification_code" name="verification_code" placeholder="验证码"
                           class="form-control">
                                    </div>
            </div>
                        <div class="col-sm-3">
                <div class="form-group">
                    <label class="control-label" for="enterprise_id">企业id（发布者)</label>
                                        <input type="text" id="enterprise_id" name="enterprise_id" placeholder="企业id（发布者)"
                           class="form-control">
                                    </div>
            </div>
                    </div>
        <div class="row">
            <div class="col-sm-6">
                <a class="btn btn-success btn-outline" href="#{:U('form')}">
                    <i class="fa fa-edit"></i>
                    <span class="bold">添加</span>
                </a>
            </div>
            <div class="col-sm-6 text-right">
                <button class="btn btn-default" data-op="reset">
                    <i class="fa fa-refresh"></i>
                    <span class="bold">重置</span>
                </button>
                &nbsp;
                &nbsp;
                <button class="btn btn-primary" data-op="search">
                    <i class="fa fa-search"></i>
                    <span class="bold">查询</span>
                </button>
            </div>
        </div>
    </div>

    <div class="row">
        <div class="col-lg-12">
            <div class="ibox">
                <div class="ibox-content">
                    <table class="footable table table-stripped toggle-arrow-tiny" id="footable">
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
<script>
    $(document).ready(function () {
        YFootTable.create('#footable', {
            baseUrl: "{:U('PackageGetRecord/')}",
            searchForm: '#form1',
            columns: [
                {name:'game_package_id',title:'游戏礼包包id',sortable: true}
				,{name:'plateform_user_id',title:'平台用户id(领取者)',sortable: true,breakpoints:'xs sm md'}
				,{name:'game_user_id',title:'游戏账号id',sortable: true,breakpoints:'xs sm md'}
				,{name:'game_id',title:'游戏id',sortable: true,breakpoints:'xs sm md'}
				,{name:'get_date',title:'获取日期',sortable: true,breakpoints:'xs sm md'}
				,{name:'verification_code',title:'验证码',sortable: true,breakpoints:'xs sm md'}
				,{name:'enterprise_id',title:'企业id（发布者)',sortable: true,breakpoints:'xs sm md'}
            ],
            actions: ['view', 'edit', 'remove']
        });
    });
</script>